package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Getter
@Setter
public class PaymentBill {
    private Long id;

    //关联latentclient
    private LatentClient latentClient;

    private String number;

    private Integer price;

    private Boolean state;

    private Integer limityear;

    //关联agencyinfo
    private AgencyInfo agencyInfo = new AgencyInfo();

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date underwritingdate;


}